﻿<%@ Page Title="Catalogo Empresa" Language="C#" MasterPageFile="~/Site2.master" AutoEventWireup="true" CodeFile="CatalogoCliente.aspx.cs" Inherits="CatálogoEmpresa" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="Infragistics4.WebUI.UltraWebGrid.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.UltraWebGrid" TagPrefix="igtbl" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">

<form id="catalogo" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">   </asp:ScriptManager>
<%--<table>
    <tr>
        <td>--%>
            <asp:GridView ID="grdDatos" DataKeyNames="IdCliente" runat="server" CellPadding="4" 
            GridLines="None" AutoGenerateColumns="False" 
                onselectedindexchanged="grdDatos_SelectedIndexChanged" 
    ForeColor="#333333">
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            <Columns>
                    <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                            ShowSelectButton="true" SelectText="Ver">
                            <ControlStyle Width="25px" />
                    </asp:CommandField>
                <asp:BoundField HeaderText="Razon Social" DataField="RazonSocial"  SortExpression="RazonSocial" >
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="RFC" DataField="Rfc"  SortExpression="Rfc" >
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="Giro" DataField="Giro"  SortExpression="Giro">
                <FooterStyle Font-Size="XX-Small" />
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="Dirección" DataField="Direccion"  SortExpression="Direccion" >
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="Colonia" DataField="Colonia"  SortExpression="Colonia">
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="Municipio" DataField="Municipio"  SortExpression="Municipio">
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="CP" DataField="Cp"  SortExpression="Cp">
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="Estado" DataField="Estado"  SortExpression="Estado">
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="Telefono 1" DataField="Telefono1"  SortExpression="Telefono1" >
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="Telefono 2" DataField="Telefono2"  SortExpression="Telefono2">
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="Contacto 1" DataField="Contacto1"  SortExpression="Contacto1">
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="Contacto 2" DataField="Contacto2"  SortExpression="Contacto2" >
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="Email" DataField="email"  SortExpression="email">
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
                <asp:BoundField HeaderText="Comentarios" DataField="Comentarios"  SortExpression="Comentarios">
                <HeaderStyle Font-Size="XX-Small" />
                </asp:BoundField>
            </Columns>
                <EditRowStyle BackColor="#999999" />
            <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#E9E7E2" />
            <SortedAscendingHeaderStyle BackColor="#506C8C" />
            <SortedDescendingCellStyle BackColor="#FFFDF8" />
            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
        </asp:GridView>
<%--        </td>
    </tr>
</table>--%>

<table><tr><td>
    <asp:Button ID="agregar" runat="server" Text="Nuevo" onclick="agregar_Click" /></td><td>
    <asp:Button ID="Button2" runat="server" Text="Borrar" onclick="Button2_Click" /></td>
    <td><asp:Button ID="Button1" runat="server" Text="Modificar" 
            onclick="Button1_Click" /> </td>
</tr>
</table>

                <table style="width: 600px; height: 400px">
                  <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td><img src="images/icons/clipboard.jpg" /></td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td><td style="text-align: left">
                      &nbsp;</td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td style="text-align: right">Razón Social</td>
                    <td align="left" colspan="3">                        
                        <asp:TextBox ID="txtRazonSocial" runat="server" 
                             Height="22px" Width="400px"></asp:TextBox>
                        
                        </td>
                  </tr>
                  <tr>
                    <td>&nbsp</td>
                    
                    <td style="text-align: right">RFC</td><td>
                      <asp:TextBox ID="txtRFC" runat="server"></asp:TextBox>
                      </td>
                      <td style="text-align: right">
                          Giro</td>
                      <td>
                          <asp:TextBox ID="txtGiro" runat="server"></asp:TextBox>
                      </td>
                  </tr>
                  <tr><td>
                      <br />
                      </td>
                  <td style="text-align: right">Dirección</td>
                   <td>
                       <asp:TextBox ID="Direccion" runat="server"></asp:TextBox>
                      </td>
                  <td style="text-align: right">Colonia:</td>
                    <td>
                        <asp:TextBox ID="colonia" runat="server"></asp:TextBox>
                      </td>
                  </tr>
                  <tr><td>&nbsp;</td>
                    <td style="text-align: right">Municipio</td>
                    <td>
                        <asp:TextBox ID="municipio" runat="server" Height="20px"></asp:TextBox>
                      </td>
                      <td style="text-align: right">
                          Estado</td>
                      <td>
                          <asp:DropDownList ID="estado" runat="server">
                             <asp:ListItem>Aguascalientes</asp:ListItem>
                      <asp:ListItem>Baja California</asp:ListItem>
                      <asp:ListItem>Baja California Sur</asp:ListItem>
                      <asp:ListItem>Campeche</asp:ListItem>
                      <asp:ListItem>Chiapas</asp:ListItem>
                      <asp:ListItem>Chihuahua</asp:ListItem>
                      <asp:ListItem>Coahuila</asp:ListItem>
                      <asp:ListItem>Colima</asp:ListItem>
                      <asp:ListItem>Distrito Federal</asp:ListItem>
                      <asp:ListItem>Durango</asp:ListItem>
                      <asp:ListItem>Estado de México</asp:ListItem>
                      <asp:ListItem>Guanajuato</asp:ListItem>
                      <asp:ListItem>Guerrero</asp:ListItem>
                      <asp:ListItem>Hidalgo</asp:ListItem>
                      <asp:ListItem>Jalisco</asp:ListItem>
                      <asp:ListItem>Michoacán</asp:ListItem>
                      <asp:ListItem>Morelos</asp:ListItem>
                      <asp:ListItem>Nayarit</asp:ListItem>
                      <asp:ListItem>Nuevo León</asp:ListItem>
                      <asp:ListItem>Oaxaca</asp:ListItem>
                      <asp:ListItem>Puebla</asp:ListItem>
                      <asp:ListItem>Queretaro</asp:ListItem>
                      <asp:ListItem>Quintana Roo</asp:ListItem>
                      <asp:ListItem>San Luis Potosí</asp:ListItem>
                      <asp:ListItem>Sinaloa</asp:ListItem>
                      <asp:ListItem>Sonora</asp:ListItem>
                      <asp:ListItem>Tabasco</asp:ListItem>
                      <asp:ListItem>Tamaulipas</asp:ListItem>
                      <asp:ListItem>Tlaxcala</asp:ListItem>
                      <asp:ListItem>Veracruz</asp:ListItem>
                      <asp:ListItem>Yucatán</asp:ListItem>
                      <asp:ListItem>Zacatecas</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                  </tr>
                  <tr><td>&nbsp;</td>
                  <td style="text-align: right">CP</td>
                    <td>
                        <asp:TextBox ID="cp" runat="server"></asp:TextBox>
                      </td>
                  
                  <td style="text-align: right">Teléfono 1</td>
                    <td>
                        <asp:TextBox ID="telefono1" runat="server"></asp:TextBox>
                      </td>
                  </tr>
                  <tr><td>&nbsp;</td>
                  <td style="text-align: right">Teléfono 2</td>
                    <td>
                        <asp:TextBox ID="telefono2" runat="server"></asp:TextBox>
                      </td>
                      <td style="text-align: right">
                          &nbsp;</td>
                      <td>
                          &nbsp;</td>
                  </tr>
                  <tr><td>&nbsp;</td>
                    <td align="right"  >Contacto1<label>&nbsp;</label></td>
                    <td align="left" colspan="3">
                        <asp:TextBox ID="contacto1" runat="server"></asp:TextBox>
                      </td>
                  </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td align="right">
                            Contacto2</td>
                        <td align="left" colspan="3">
                            <asp:TextBox ID="contacto2" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td align="right">
                            email</td>
                        <td align="left" colspan="3">
                            <asp:TextBox ID="email" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td align="right">
                            Comentarios</td>
                        <td align="left" colspan="3">
                            <asp:TextBox ID="Comentario" runat="server" Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                  <tr><td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                      <td>
                          <asp:Button ID="Btnok2" runat="server" Text="Guardar" onclick="Btnok2_Click" />
                      </td>
                      <td>
                          <asp:Button ID="Button6" runat="server" Text="Cancelar" 
                              onclick="Button6_Click" />
                      </td>
                      <td>
                          <asp:HiddenField ID="HiddenField1" runat="server" />
                      </td>
                  </tr>
                </table>
                </asp:Panel>


</form>
</asp:Content>

